# a是个字符串       
a = input()
# 1,2,3,4,5
print( a[1:-1])

nums = [int(i) for i in a[1:-1].split(",")]

nums2 = []
for i in a[1:-1].split(","):
    nums2.append(int(i))